package com.ruoyi.order.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 待支付订单对象
 *
 * @author ruoyi
 * @date 2025-08-21
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Unpay {
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    private Long userId;

    /** 订单总金额 */
    private String totalAmount;

    /** 实付金额 */
    private String payAmount;

    /** 活动ID */
    private Long activityId;

    /** 优惠券ID */
    private Long couponId;

    /** 运费 */
    private String freight;

    /** 收货地址ID */
    private Long addressId;

    /** 运输方式 */
    private Integer shipMethod;

    /** 购物车商品列表 */
    private List<CartItem> cartItems;

    /** 订单ID */
    private Long orderId;

}
